Mollie\WooCommerce\Gateway\GatewayModule B

Total Complexity 76
Dependencies 39
Dependents 1
Total lines 680
Lines of code 524
Logical lines of code 308
Comment lines 70
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
run()
A
33 11 116
services()
A
32 10 127
maybeDisableBankTransferGateway()
A
51 13 24
instantiatePaymentMethodGateways()
A
37 6 87
disableMollieOnPaymentMethodChange()
S
60 7 12
instantiatePaymentMethods()
S
49 3 35
addPaymentMethodMandatoryFields()
S
55 4 20
addShopOrderMetabox()
S
55 4 19
in3FieldsMandatoryPayForOrder()
S
57 3 17
molliePayPalButtonHandling()
S
62 3 11
mollieApplePayDirectHandling()
S
61 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
buildPaymentMethod()
S
64 1 11
gatewaySurchargeHandling()
S
81 1 3
BillieFieldsMandatory()
S
69 1 6
in3FieldsMandatory()
S
64 1 9